ARDK for Android/com.nianticlabs.ardk/WPSConfig
WPSConfig
class WPSConfig(var enableSmoothing: Boolean = true, val framerate: Int = 120)
Configuration structure for the WPS session.
This class allows you to customize WPS behavior including smoothing and framerate settings. In most cases, the default values provide optimal performance and should not be changed.
Usage
val config = WPSConfig(
enableSmoothing = true,
framerate = 120
)
wpsSession.configure(config)
See also
| WPSSession.configure |
Constructors
| WPSConfig | [androidJvm] constructor(enableSmoothing: Boolean = true, framerate: Int = 120) |
Properties
| Name | Summary |
|---|---|
| enableSmoothing | [androidJvm] var enableSmoothing: Boolean Whether to enable smoothing. |
| framerate | [androidJvm] val framerate: Int = 120 The framerate of the WPS session. |